.custom-single-product-container {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
}

.custom-product-gallery {
    flex: 1;
    margin-right: 20px;
    width: 55%;
    float: left;
    background-color: #f9f9f9;
}

.custom-product-summary {
    flex: 1;
    padding: 20px;
    border-radius: 10px;
    width: 40%;
    float: right;
}

.custom-product-summary .product_title {
    font-weight: bold;
    margin-bottom: 10px;
    color: rgb(51, 51, 51) !important;
    visibility: visible;
    animation-delay: 0.1s;
    animation-name: fadeInUp;
    font-size: 26px !important;
    text-align: left;
    padding: 0 0;
}

.custom-product-summary .price {
    color: #e74c3c;
    font-size: 24px;
    margin-bottom: 20px;
}

.custom-related-products {
    margin-top: 40px;
    width: 95%;
}

/* Container styling for the tab navigation */
.woocommerce-tabs .tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    border-bottom: 1px solid #ddd;
    background-color: #f8f8f8;
}

/* Styling for each tab link */
.woocommerce-tabs .tabs li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #555;
    border-right: 1px solid #ddd;
    font-weight: bold;
}

/* Remove border from the last tab */
.woocommerce-tabs .tabs li:last-child a {
    border-right: none;
}

/* Active tab styling */
.woocommerce-tabs .tabs li.active a,
.woocommerce-tabs .tabs li a:hover {
    background-color: #fff;
    border-bottom: 2px solid #0073aa; /* WooCommerce default blue color */
    color: #0073aa;
}

/* Tab content area */
.woocommerce-tabs .panel {
    display: none;
    padding: 20px;
    width: 100% !important;
    border: 1px solid #ddd;
    border-top: none;
    background-color: #fff;
}

/* Display the active tab's content */
.woocommerce-tabs .panel.active {
    display: block;
}

/* Container for the related products section */
.related.products {
    width: 100%;
    padding: 20px 0;
    margin-top: 10%;
}

.related.products h2{
    font-size: 22px !important;
}

/* List styling for related products */
.related.products ul.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Styling for individual product items */
.related.products ul.products li.product {
    width: calc(30% - 20px); /* Adjust the width to fit the layout */
    margin: 10px;
    box-sizing: border-box;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
    transition: box-shadow 0.3s;
}

.related.products ul.products li.product:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Styling for product images */
.related.products ul.products li.product img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Product title styling */
.related.products ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 16px;
    margin: 10px 0;
    color: #333;
}

/* Styling for price */
.related.products ul.products li.product .price {
    font-size: 14px;
    color: #e74c3c; /* Sale price color */
    margin: 5px 0;
}

/* Sale badge styling */
.related.products ul.products li.product .onsale {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #e74c3c;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}

/* Add to cart button styling */
.related.products ul.products li.product .button {
    background-color: #A6052D;
    color: #fff !important;
    padding: 10px 10px;
    margin: 10px 35px;
    display: block;
    width: 60%;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.related.products ul.products li.product .button:hover {
    background-color: #005d99;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .related.products ul.products li.product {
        width: calc(50% - 20px); /* Adjust for tablet view */
    }
}

@media (max-width: 480px) {
    .related.products ul.products li.product {
        width: 100%; /* Full width for mobile view */
        margin: 10px 0;
    }
}

/* Container for the product listings */
.woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
    list-style: none;
    margin: 0;
}

/* Styling for individual product items */
.woocommerce ul.products li.product {
    box-sizing: border-box;
    width: calc(25% - 20px); /* Four products per row, with 20px spacing */
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
    transition: box-shadow 0.3s ease-in-out;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Product image styling */
.woocommerce ul.products li.product img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

/* Product title styling */
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 16px;
    color: #333;
    margin: 10px 0;
}

/* Styling for price */
.woocommerce ul.products li.product .price {
    font-size: 14px;
    color: #e74c3c; /* Sale price color */
    margin: 5px 0;
    display: block;
}

/* Sale badge styling */
.woocommerce ul.products li.product .onsale {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #e74c3c;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}

/* Add to cart button styling */
.woocommerce ul.products li.product .button {
    background-color: #e74c3c;
    color: #fff;
    padding: 10px 20px;
    margin: 10px 0;
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.woocommerce ul.products li.product .button:hover {
    background-color: #005d99;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .woocommerce ul.products li.product {
        width: calc(33.33% - 20px); /* Three products per row for tablets */
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products li.product {
        width: calc(50% - 20px); /* Two products per row for mobile */
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products li.product {
        width: 100%; /* One product per row for small screens */
        margin: 10px 0;
    }
}

.single_add_to_cart_button {
    margin: 10px 10px 10px 0;
    padding: 10px 15px;
    color: #fff;
    text-align: center;
    font-size: 13px;
    background: #A6052D;
    border: none;
    text-transform: uppercase;
    border-radius: 7px;
    float: left;
    font-weight: bold;
}

.product_meta{
    display: inline-block;
}

.flex-control-thumbs{
list-style-type: none;
}

.flex-control-thumbs li{
    display: inline;
    margin-right:8% ;
    }

.wc-tab h2{
    font-size: 22px !important;
    margin-bottom: 2%;
}

.input-text{
    margin: 0 0 10px 0;
    padding: 10px 10px;
    color: #333;
    text-align: left;
    font-size: 16px;
    background: #fff;
    border: none;
    border: 1px solid #CCC;
}

/* Container for product items */
ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Individual product item */
ul.products li.product {
    flex: 1 1 calc(25% - 20px);
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    /* padding: 20px; */
    text-align: center;
    background-color: #fff;
    transition: box-shadow 0.3s;
}

/* Product image */
ul.products li.product img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

/* Product title */
ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}

/* Product price */
ul.products li.product .price {
    color: #de0606;
    font-size: 16px;
    margin: 10px 0;
}

/* Sale badge */
span.onsale {
    background-color: #de0606;
    color: #fff;
    padding: 5px 10px;
    position: absolute;
    top: 10px;
    left: 10px;
    font-weight: bold;
}

/* Default sorting dropdown */
.woocommerce-ordering select {
    border: 1px solid #ccc;
    padding: 5px;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Breadcrumb */
.woocommerce-breadcrumb {
    margin: 20px 0;
    font-size: 14px;
}

/* Sidebar (if any) */
.woocommerce .sidebar {
    margin-top: 20px;
}
